package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.TaskStatus;

import java.util.List;

import vn.edu.ptithcm.pim.dao.TaskStatusDao;

@SuppressWarnings({ "rawtypes" })
public class TaskStatusService {
	private TaskStatusDao taskStatusDao;

	public TaskStatusDao getTaskStatusDao() {
		return taskStatusDao;
	}

	public void setTaskStatusDao(TaskStatusDao taskStatusDao) {
		this.taskStatusDao = taskStatusDao;
	}

	public void save(TaskStatus taskStatus) {
		taskStatusDao.save(taskStatus);
	}

	public void saveOrUpdate(TaskStatus taskStatus) {
		taskStatusDao.saveOrUpdate(taskStatus);
	}

	public void lock(TaskStatus taskStatus) {
		taskStatusDao.lock(taskStatus);
	}

	public void delete(TaskStatus taskStatus) {
		taskStatusDao.delete(taskStatus);
	}

	public TaskStatus merge(TaskStatus taskStatus) {
		return taskStatusDao.merge(taskStatus);
	}

	public TaskStatus findById(java.lang.Long id) {
		return taskStatusDao.findById(id);
	}

	public List findByExample(TaskStatus taskStatus) {
		return taskStatusDao.findByExample(taskStatus);
	}

	public List getAll() {
		return taskStatusDao.getAll();
	}

	public List<TaskStatus> findByIdList(List<Long> idList) {
		return taskStatusDao.findByIdList(idList);
	}
}
